package org.chen.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.chen.common.system.province.Attraction;
import org.chen.common.system.province.ProvinceCapital;

import java.util.List;

public interface AttractionService extends IService<Attraction> {
    List<Attraction> getAttractionsByCapitalId(Long capitalId);
    ProvinceCapital findCapitalIdByAttractionName(String attractionName);

    ProvinceCapital findCapitalIdByPlatformId(String platform, String platformId);
    ProvinceCapital findCapitalIdByAttractionPlatformId(String platform, String platformId);
}